package com.rgs.oauthauthentication.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.oauth2.provider.token.TokenStore;
import org.springframework.security.oauth2.provider.token.store.InMemoryTokenStore;

/**
 * @author RenGaoshuai
 * @date 2024/4/9 16:18
 * @description
 */
@Configuration
public class AccessTokenConfig {

    //内存模式token
    @Bean
    TokenStore tokenStore(){
        return new InMemoryTokenStore();
    }

    //jwt生成token
}
